package com.example.demo.entity;

import java.io.Serializable;
import java.util.Date;

public class Discussion implements Serializable {
    private Integer discusssionId;

    private Integer discussionUserId;

    private Date discussionDate;

    private Integer discussionTaskId;

    private static final long serialVersionUID = 1L;

    public Integer getDiscusssionId() {
        return discusssionId;
    }

    public void setDiscusssionId(Integer discusssionId) {
        this.discusssionId = discusssionId;
    }

    public Integer getDiscussionUserId() {
        return discussionUserId;
    }

    public void setDiscussionUserId(Integer discussionUserId) {
        this.discussionUserId = discussionUserId;
    }

    public Date getDiscussionDate() {
        return discussionDate;
    }

    public void setDiscussionDate(Date discussionDate) {
        this.discussionDate = discussionDate;
    }

    public Integer getDiscussionTaskId() {
        return discussionTaskId;
    }

    public void setDiscussionTaskId(Integer discussionTaskId) {
        this.discussionTaskId = discussionTaskId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", discusssionId=").append(discusssionId);
        sb.append(", discussionUserId=").append(discussionUserId);
        sb.append(", discussionDate=").append(discussionDate);
        sb.append(", discussionTaskId=").append(discussionTaskId);
        sb.append("]");
        return sb.toString();
    }
}